import {axios_get,axios_post,axios_delete,axios_put} from './http.js'
export const jwt_send_get = p  => axios_get("/appjwt/index01/",p)  //定义路由
export const login = p  => axios_get("/myapp/index/",p)  //定义路由
export const phone = p  => axios_post("/user/phone/",p);  // 短信验证码
export const reg = p  => axios_post("/user/register/",p);  // 用户注册
export const log = p  => axios_post("/user/login/",p);  // 用户登录
export const my_email = p  => axios_get("/email/send_mail/",p);  // 邮箱验证码
export const find = p  => axios_post("/user/up_password/",p);  // 邮箱验证码
export const adduser = p  => axios_post("/user/add_user/",p);  // 添加用户
export const role = p  => axios_get("/user/show_role/",p);  // 展示角色
export const del = p  => axios_get("/user/del_user/",p);  // 展示角色
export const com = p  => axios_get("/user/commpany/",p);  // 公司信息
export const qn = p  => axios_get("/user/qiniu/",p);  // 七牛上传图片
export const showu = p  => axios_get("/user/show_user/",p);  // 展示用户信息
export const one = p  => axios_get("/user/user_info/",p);  // 展示个人用户信息
export const upone = p  => axios_get("/user/one_user/",p);  // 修改某个人用户信息
export const upemail = p  => axios_get("/user/update_email/",p);  // 修改个人邮箱
export const upword = p  => axios_get("/user/update_password/",p);  // 修改个人密码
export const upphone = p  => axios_get("/user/update_phone/",p);  // 修改个人手机号
export const uall = p  => axios_get("/user/show_all/",p);  // 管理员和客服权限
export const peo = p  => axios_get("/user/show_com/",p);  // 普通用户权限
export const sale = p  => axios_get("/user/show_sale/",p);  // 发货用户权限
export const buy = p  => axios_get("/user/show_buy/",p);  // 收货用户权限
export const salebuy = p  => axios_get("/user/show_salebuy/",p);  // 收货和发货用户权限
export const orole = p  => axios_get("/user/up_role/",p);  // 修改某人权限
export const tgood = p  => axios_get("/user/goodtype/",p);  // 添加货物类型
export const equ = p  => axios_get("/user/show_equ/",p);  // 展示设备
export const showgt = p  => axios_get("/user/show_goodtype/",p);  // 展示货物类型
export const delgt = p  => axios_get("/user/del_goodtype/",p);  // 删除货物类型
export const onetype = p  => axios_get("/user/goodtype_info/",p);  // 单个货物类型
export const uptype = p  => axios_get("/user/goodtype_up/",p);  // 单个货物类型
export const ctag = p  => axios_get("/user/add_tag/",p);  // 添加标签
export const stag = p  => axios_get("/user/show_tag/",p);  // 展示标签
export const dtag = p  => axios_get("/user/del_tag/",p);  // 删除标签
export const onetag = p  => axios_get("/user/one_tag/",p);  // 单个标签
export const uptag = p  => axios_get("/user/update_tag/",p);  // 修改标签
export const addcom = p  => axios_get("/user/add_com/",p);  // 添加客户
export const showcom = p  => axios_get("/user/show_commster/",p);  // 展示客户
export const editcom = p  => axios_get("/user/edit_commster/",p);  // 编辑客户
export const upcomm = p  => axios_get("/user/up_commster/",p);  // 编辑客户
export const addway = p  => axios_get("/user/add_waybill/",p);  // 添加运单
export const showway = p  => axios_get("/user/show_waybill/",p);  // 运单列表
export const send = p  => axios_get("/user/send_good/",p);  // 发货
export const oderinfo = p  => axios_get("/user/show_order/",p);  // 发货
export const accpetoder = p  => axios_get("/user/accept_order/",p);  // 收货
export const dashnum = p  => axios_get("/user/all_num/",p);  // 总览
export const get_temps = p  => axios_get("/user/gettemps/",p);  // 展示温度
export const getress = p  => axios_get("/user/csgetaddress/",p);  // 展示地址
export const anafind = p  => axios_get("/user/analayfind/",p);  // 物流线路分析
